package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 第三方库存信息对象 t_3rdstock
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
public class T3rdstock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库主键 */
    private String warehouseId;

    /** 商品主键 */
    private String goodsId;

    /** 商品库存数量 */
    @Excel(name = "商品库存数量")
    private Long supplierStock;

    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }
    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }
    public void setSupplierStock(Long supplierStock) 
    {
        this.supplierStock = supplierStock;
    }

    public Long getSupplierStock() 
    {
        return supplierStock;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseId", getWarehouseId())
            .append("goodsId", getGoodsId())
            .append("supplierStock", getSupplierStock())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
